home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
Hard Disk Protect 1.3.cpt
/
Hard Disk Protect 1.3
/
card_4396.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
2KB
|
68 lines
-- card: 4396 from stack: in.3
-- bmap block id: 2275
-- flags: 0000
-- background id: 2666
-- name:
----- HyperTalk script -----
-- the happy bomber
on openCard
hide message
end openCard
-- part 3 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=127 top=174 right=195 bottom=186
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Resume
----- HyperTalk script -----
on mouseUp
Play "Boing"
answer "Just Kidding…Funny, Huh?" with "Stupid" or "No!" or "Yes"
if it is "Stupid" then put "You Sure Are!…And Gullible, Too!"
if it is "No!" then put "People with no sense of humor shouldn't own Macintoshes!"
if it is "Yes" then put "Flattery will get you nowhere…except maybe out of this stack!"
set the rect of card button id 4 of card id 4396 to 51,174,111,195
global flg
put 0 into flg
wait 3 seconds
hide message
go to card 1
HIDE MENUBAR
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=51 top=174 right=195 bottom=111
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Restart
----- HyperTalk script -----
on MouseEnter
global flg
put 1 + flg into flg
global restarth,restartw
put Random(512-restartw)+restartw/2 into horiz
put Random(343-restarth)+restarth/2 into vert
play "Boing"
put the trunc of horiz into horiz
put the trunc of vert into vert
set the loc of card button id 4 to horiz,vert
if flg >= 4 then put "Try the Resume button!"
end MouseEnter